package com.eshop.tools.service;

import com.eshop.tools.domain.vo.TradeVo;
import com.eshop.tools.domain.AlipayConfig;
import com.eshop.common.service.BaseService;

public interface AlipayConfigService extends BaseService<AlipayConfig>
{
    String toPayAsPc(final AlipayConfig alipay, final TradeVo trade) throws Exception;
    
    String toPayAsWeb(final AlipayConfig alipay, final TradeVo trade) throws Exception;
    
    AlipayConfig find();
    
    void update(final AlipayConfig alipayConfig);
}
